package com.liliudong.pinkyponk.biz.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 系统用户角色
 *
 * @author liliudong
 * @date 2021-10-26 10:24
 **/
@Data
@TableName
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysUserRole implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Long userId;

    private Integer roleId;

}
